<?php
namespace Api\Controller;
use Think\Controller;
use Api\Model\LoginModel;
class TestController extends BaseController {
    //登录验证
    public function index(){
        parent::_initialize();

        echo "ffsd:".C('SITE_TITLE');
        echo "123";exit;
        echo "redis测试：<br>";
       // exit;
        S(array('type'=>'redis'));
        $key="hh".KEY_POSTFIX.time();
        S('hhkey',md5($key),"123");
        echo "jieguo:".S("hhkey");
    }


}